//==============================================================================
// stable_anim.txt
//==============================================================================

import Construction_defines_anim.txt
import building_damage_defines_anim.txt

//==============================================================================
define VINEA
{
   set hotspot
   {
      version
      {
         Visual Building VineA
      }
   }  
}

//==============================================================================
define ACC1
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Charioteria Acc V1
		replaceTexture Building N Odin Wonder01/Building Beta N Stable01
                replacetexture Building N Odin Wonder/Building Beta E Charioteria Walls
      }
   }
}

//==============================================================================
define ACC2
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Charioteria Acc V2
		replaceTexture Building N Odin Wonder01/Building Beta N Stable01
                replacetexture Building N Odin Wonder/Building Beta E Charioteria Walls
      }
   }
}

//==============================================================================
define ACC3
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Charioteria Acc V3
		replaceTexture Building N Odin Wonder01/Building Beta N Stable01
                replacetexture Building N Odin Wonder/Building Beta E Charioteria Walls
      }
   }
}

//==============================================================================
define ACC4
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Charioteria Acc V4
      }
   }
}

//==============================================================================
define ACC5
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Charioteria Acc V5
      }
   }
}

//==============================================================================
define ACC6
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Charioteria Acc V6
      }
   }
}

//==============================================================================
define ACC7
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Charioteria Acc V4
replacetexture building e age3/building e age4
      }
   }
}

//==============================================================================
define ACC8AGE2
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Charioteria Acc EX
      }
   }
}

//==============================================================================
define ACC8AGE3
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Charioteria Acc EX
replacetexture building e age2/building e age3
      }
   }
}

//==============================================================================
define ACC8AGE4
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Charioteria Acc EX
replacetexture building e age2/building e age4
      }
   }
}

//==============================================================================
define ACC4AGE2
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Charioteria Acc V4
replacetexture building e age3/building e age2
      }
   }
}

//==============================================================================
define EX2AGE2
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Charioteria Acc EX2
replacetexture building e age3/building e age2
      }
   }
}
//==============================================================================
define EX2AGE3
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Charioteria Acc EX2
      }
   }
}
//==============================================================================
define EX2AGE4
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Charioteria Acc EX2
replacetexture building e age3/building e age4
      }
   }
}

//==============================================================================
anim idle
{
   SetSelector
   {
      TechLogic age 2/age 3/age 4
 //---------------------------Age 2--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
         Visual Building Beta E Charioteria
Replacetexture building e age3/building e age2 Siege Camp
                        connect rightfoot ACC1 hotspot
                        connect rightfoot ACC2 hotspot
                        connect rightfoot ACC3 hotspot
                        connect rightfoot ACC4AGE2 hotspot
                        connect rightfoot ACC5 hotspot
                        connect rightfoot ACC6 hotspot
                        connect hotspot ACC8AGE2 hotspot
                        connect hotspot EX2AGE2 hotspot

            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
 //---------------------------Age 3--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
         Visual Building Beta E Charioteria
                        connect rightfoot ACC1 hotspot
                        connect rightfoot ACC2 hotspot
                        connect rightfoot ACC3 hotspot
                        connect rightfoot ACC4 hotspot
                        connect rightfoot ACC5 hotspot
                        connect rightfoot ACC6 hotspot
                        connect hotspot ACC8AGE3 hotspot
                        connect hotspot EX2AGE3 hotspot

            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
    //---------------------------Age 4--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
         Visual Building Beta E Charioteria
Replacetexture building e age3/building e age4 Siege Camp
                        connect rightfoot ACC1 hotspot
                        connect rightfoot ACC2 hotspot
                        connect rightfoot ACC3 hotspot
                        connect rightfoot ACC7 hotspot
                        connect rightfoot ACC5 hotspot
                        connect rightfoot ACC6 hotspot
                        connect hotspot EX2AGE4 hotspot
                        connect hotspot ACC8AGE4 hotspot

            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
   }
}

//==============================================================================
anim Death
{
   SetSelector
   {
      TechLogic age 2/age 3/age 4
 //---------------------------Age 2--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
         Visual Building Beta E Charioteria
Replacetexture building e age3/building e age2 Siege Camp
                        connect rightfoot ACC1 hotspot
                        connect rightfoot ACC2 hotspot
                        connect rightfoot ACC3 hotspot
                        connect rightfoot ACC4 hotspot
                        connect rightfoot ACC5 hotspot
                        connect rightfoot ACC6 hotspot
                        connect hotspot EX2AGE2 hotspot
                        connect hotspot ACC8AGE2 hotspot
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot

            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
 //---------------------------Age 3--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
         Visual Building Beta E Charioteria
                        connect rightfoot ACC1 hotspot
                        connect rightfoot ACC2 hotspot
                        connect rightfoot ACC3 hotspot
                        connect rightfoot ACC4 hotspot
                        connect rightfoot ACC5 hotspot
                        connect rightfoot ACC6 hotspot
                        connect hotspot EX2AGE3 hotspot
                        connect hotspot ACC8AGE3 hotspot
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot

            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
    //---------------------------Age 4--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
         Visual Building Beta E Charioteria
Replacetexture building e age3/building e age4 Siege Camp
                        connect rightfoot ACC1 hotspot
                        connect rightfoot ACC2 hotspot
                        connect rightfoot ACC3 hotspot
                        connect rightfoot ACC5 hotspot
                        connect rightfoot ACC6 hotspot
                        connect rightfoot ACC7 hotspot
                        connect hotspot EX2AGE4 hotspot
                        connect hotspot ACC8AGE4 hotspot
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot

            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionStable
		         connect attachpoint G_Long_Brick hotspot
		         connect face G_Long_Brick hotspot
		         connect chin G_Medium_Brick hotspot
		         connect leftfoot G_Medium_Brick hotspot
		         connect lefthand G_Small_Brick hotspot
		         connect leftleg G_Small_Brick hotspot
            }
         }
      }
   }
}
